package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.DaoPledgeCurrentStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author 刘国航
 * @desc
 * @since 2024/11/27 14:24
 */
@Data
public class DaoPledgeCommercialVO implements java.io.Serializable {

    private static final long serialVersionUID = 7642673605362419398L;

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("活动封面")
    private String coverPicture;

    @ApiModelProperty("活动主图")
    private String masterPicture;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("上下架状态")
    private Boolean status;

    @ApiModelProperty("当前状态")
    private DaoPledgeCurrentStatusEnum currentStatus;

    @ApiModelProperty("当前状态名称")
    private String currentStatusName;

    @ApiModelProperty("活动规则")
    private String activeRule;

}
